home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / mxmnu239.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-03-22  |  3KB  |  111 lines

  1. Echo OFF
  2. Cls
  3. Echo *======[[ Computer Tyme Software Installation ]]========*
  4. Echo .
  5. Echo If you are installing MarxMenu ......
  6. Echo .
  7. Echo This program will unpack the compressed files and compile
  8. Echo the menus. Then MarxMenu will create the MARX.BAT file for
  9. Echo your system.
  10. Echo .
  11. Echo *===============[[ I M P O R T A N T ! ]]===============*
  12. Echo .
  13. Echo You should be running this on your hard disk or network
  14. Echo If you're not, copy the files onto your hard disk or network
  15. Echo and run INSTALL from there.
  16. Echo .
  17. Echo Be sure to copy ALL the disks that came with your software
  18. Echo your hard disk or network before running INSTALL.
  19. Echo .
  20. Echo *===============[[ I M P O R T A N T ! ]]===============*
  21. Echo .
  22. Echo If you are running this on a floppy disk, press CTRL-C now!
  23. Echo .
  24. Pause
  25. Cls
  26.  
  27. rem *--- Here we test to see if anyone on the network has MarxMenu
  28. rem *--- in use. If it's in use then we can't delete the overlay.
  29.  
  30. if exist NSK.EXE goto nettest
  31. if exist NSKEVAL.EXE goto nettest
  32. goto start
  33.  
  34. :nettest
  35. if not exist MARXMENU.OVR goto start
  36. del MARXMENU.OVR
  37. if exist MARXMENU.OVR goto locked
  38.  
  39. :start
  40. if not exist NSK.EXE goto skip
  41. Echo Unpacking Network Survival Kit . . .
  42. NSK -o
  43. if ErrorLevel 1 goto Err
  44. DEL NSK.EXE
  45.  
  46. :skip
  47. if not exist NSKEVAL.EXE goto skip1
  48. Echo Unpacking Network Survival Kit Evaluation . . .
  49. NSKEVAL -o
  50. if ErrorLevel 1 goto Err
  51. DEL NSKEVAL.EXE
  52.  
  53. :skip1
  54. if not exist SMARX.EXE goto skip3
  55. Echo UnPacking MarxMenu Files . . .
  56. SMarx -o
  57. if ErrorLevel 1 goto Err
  58. DEL SMARX.EXE
  59.  
  60. :skip3
  61. if not exist DISK2.EXE goto skip4
  62. Echo Unpacking MarxEdit and TSR Utilities . . .
  63. Disk2 -o
  64. if ErrorLevel 1 goto Err
  65. DEL DISK2.EXE
  66.  
  67. :skip4
  68. if not exist TOOLBOX.EXE goto skip5
  69. Echo Unpacking Dos ToolBox . . .
  70. ToolBox -o
  71. if ErrorLevel 1 goto Err
  72. DEL TOOLBOX.EXE
  73.  
  74. :skip5
  75. if not exist INST.MNU goto skip6
  76. Echo Compiling Menus . . .
  77. for %%m in (*.mnu) do MarxComp %%m
  78. if exist MXPRN.EXE MxPrn
  79. Cls
  80. Echo Loading Installation Menu . . .
  81. MARXMENU INST
  82.  
  83. :skip6
  84. if exist PIPEDIR.EXE copy PIPEDIR.EXE WHEREIS.EXE >nul
  85. if exist RAMMAP.EXE copy RAMMAP.EXE INMEM.EXE >nul
  86. cls
  87. echo All Done!
  88. goto end
  89.  
  90. :Locked
  91. cls
  92. echo MARXMENU.OVR was found and could not be deleted! This is commonly
  93. echo caused by trying to install MarxMenu on a network while users are
  94. echo still using MarxMenu. You will need to chase everyone out of the
  95. echo menu to complete the upgrade!
  96. goto end
  97.  
  98. :Err
  99. echo.
  100. echo An error occurred while installing the software!
  101. echo.
  102. echo The most common error is trying to run INSTALL from a floppy
  103. echo disk drive. The correct procedure is to copy all the enclosed
  104. echo disks onto your hard disk or network and then run install.
  105. echo.
  106. echo If you still have a problem call Computer Tyme tech support
  107. echo at 1-417-866-1222.
  108. echo.
  109.  
  110. :end
  111.